package com.lagou.service;

import com.lagou.pojo.Orders;
import com.lagou.pojo.OrdersVo;

import java.util.Map;

/**
 * @Author : liuchangling
 * @Descrition :
 * @Date： Created in 10:43 上午 2021/9/17
 */
public interface OrderService {
    /**
     * 根据id查询订单
     * @param id
     * @return
     */
    Orders findOrderById(int id);

    /**
     * 分页查询
     * @param ordersVo
     * @return
     */
    Map<String, Object> selectPage(OrdersVo ordersVo);
}
